package com.sihuatech.coreagent.core.communication.entity;

import java.util.Date;

/***
 * 存放生成上行文件所需参数
 * @author 25081
 *
 */
public class StmTotal {
	
	private Integer DatekeyAndProvinceCode;//年月日为key
	
	private String headDesc;//头记录
	
	private String tailDesc;//尾记录
	
	private Date earliestTime;//话单记录的最早开始时间
	
	private Date latestTime;//话单记录的最晚开始时间
	
	private Long  validUpFlowTotal;//有效上行流量合计
	
	private Long validDownFlowTotal;//有效下行流量合计
	
	private Long validAccountTimeTotal;//有效计费时长合计
	
	private Long validFeeTotal;//有效信息费合计
	
	private Long validDiscountFeeTotal;//有效优惠后信息费合计
	
	private Integer stmCount;
	
	public Integer getStmCount() {
		return stmCount;
	}

	public void setStmCount(Integer stmCount) {
		this.stmCount = stmCount;
	}

	public StmTotal(){
		
	}

	public StmTotal(Integer datekeyAndProvinceCode, String headDesc, String tailDesc, Date earliestTime,
			Date latestTime, Long validUpFlowTotal, Long validDownFlowTotal, Long validAccountTimeTotal,
			Long validFeeTotal, Long validDiscountFeeTotal,Integer stmCount) {
		super();
		DatekeyAndProvinceCode = datekeyAndProvinceCode;
		this.headDesc = headDesc;
		this.tailDesc = tailDesc;
		this.earliestTime = earliestTime;
		this.latestTime = latestTime;
		this.validUpFlowTotal = validUpFlowTotal;
		this.validDownFlowTotal = validDownFlowTotal;
		this.validAccountTimeTotal = validAccountTimeTotal;
		this.validFeeTotal = validFeeTotal;
		this.validDiscountFeeTotal = validDiscountFeeTotal;
		this.stmCount = stmCount;
	}

	public Integer getDatekeyAndProvinceCode() {
		return DatekeyAndProvinceCode;
	}

	public void setDatekeyAndProvinceCode(Integer datekeyAndProvinceCode) {
		DatekeyAndProvinceCode = datekeyAndProvinceCode;
	}

	public String getHeadDesc() {
		return headDesc;
	}

	public void setHeadDesc(String headDesc) {
		this.headDesc = headDesc;
	}

	public String getTailDesc() {
		return tailDesc;
	}

	public void setTailDesc(String tailDesc) {
		this.tailDesc = tailDesc;
	}

	public Date getEarliestTime() {
		return earliestTime;
	}

	public void setEarliestTime(Date earliestTime) {
		this.earliestTime = earliestTime;
	}

	public Date getLatestTime() {
		return latestTime;
	}

	public void setLatestTime(Date latestTime) {
		this.latestTime = latestTime;
	}

	public Long getValidUpFlowTotal() {
		return validUpFlowTotal;
	}

	public void setValidUpFlowTotal(Long validUpFlowTotal) {
		this.validUpFlowTotal = validUpFlowTotal;
	}

	public Long getValidDownFlowTotal() {
		return validDownFlowTotal;
	}

	public void setValidDownFlowTotal(Long validDownFlowTotal) {
		this.validDownFlowTotal = validDownFlowTotal;
	}

	public Long getValidAccountTimeTotal() {
		return validAccountTimeTotal;
	}

	public void setValidAccountTimeTotal(Long validAccountTimeTotal) {
		this.validAccountTimeTotal = validAccountTimeTotal;
	}

	public Long getValidFeeTotal() {
		return validFeeTotal;
	}

	public void setValidFeeTotal(Long validFeeTotal) {
		this.validFeeTotal = validFeeTotal;
	}

	public Long getValidDiscountFeeTotal() {
		return validDiscountFeeTotal;
	}

	public void setValidDiscountFeeTotal(Long validDiscountFeeTotal) {
		this.validDiscountFeeTotal = validDiscountFeeTotal;
	}

	@Override
	public String toString() {
		return "StmForAll [Datekey=" + DatekeyAndProvinceCode + ", headDesc=" + headDesc + ", tailDesc=" + tailDesc + ", earliestTime="
				+ earliestTime + ", latestTime=" + latestTime + ", validUpFlowTotal=" + validUpFlowTotal
				+ ", validDownFlowTotal=" + validDownFlowTotal + ", validAccountTimeTotal=" + validAccountTimeTotal
				+ ", validFeeTotal=" + validFeeTotal + ", validDiscountFeeTotal=" + validDiscountFeeTotal + "]";
	}

}
